package mlz.b_extends.demo07;

public class Student extends Person{
    private double score;

    public Student() {
        //默认调用父类的无参构造方法
        super("张三",18);
        System.out.println("子类的无参构造方法");
    }

    public Student(double score) {
        super("李素",18);
        this.score = score;
        System.out.println("子类的有参构造方法");
    }


    //成员方法
}
